home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1998 September
/
CHIP Eylül 1998.iso
/
Slackwar
/
contents
/
scripts
/
sysvinit
< prev
next >
Wrap
Text File
|
1997-06-06
|
608b
|
19 lines
# OK, we've tried to make it so you can just dump this package in with
# "installpkg" to upgrade your system. Maybe in the future we'll make more
# packages upgradable where possible.
if [ ! -r etc/rc.d/rc.local ]; then
mv etc/rc.d/rc.local.new etc/rc.d/rc.local
fi
if [ -r sbin/init ]; then
mv sbin/init tmp/init.old
fi
mv sbin/init.new sbin/init
( cd sbin ; rm -rf telinit )
( cd sbin ; ln -sf init telinit )
( cd sbin ; rm -rf reboot )
( cd sbin ; ln -sf halt reboot )
( cd etc/rc.d ; rm -rf rc.0 )
( cd etc/rc.d ; ln -sf rc.6 rc.0 )
( cd sbin ; rm -rf pidof )
( cd sbin ; ln -sf killall5 pidof )